<?php

namespace App\Store\Controllers\Common;

use App\Common\Services\Store\Common as StoreCommon;
use App\Http\Controllers\Controller;
use App\Store\Services\Message\AliSms;
use App\Store\Services\Message\WxaccountMessage;

class AlismsController extends Controller {
    public function sendsms()
    {
        $args = [
            "phoneNumbers" => "18710445727",
            "signName" => "长沙珠小宝信息科技",
            "templateCode" => "SMS_468635077",
            "templateParam" => json_encode(["name" => "尹", "money" => "100"], true)
        ];
        AliSms::sendSms($args);
    }

//    public function sendwx()
//    {
////        $accountinfo = StoreCommon::getCurrentAccountinfo($request);
////        $cp_id = $accountinfo['cp_id'];
//        WxaccountMessage::sendwx();
//    }
}
